package com.eightgroups.tces.service.impl;

import com.eightgroups.tces.entity.TcesResult;
import com.eightgroups.tces.entity.TcesResultVo;
import com.eightgroups.tces.mapper.TcesResultMapper;
import com.eightgroups.tces.service.ITcesResultService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 评教结果表 服务实现类
 * </p>
 *
 * @author zzc2016.cn
 * @since 2017-11-29
 */
@Service
public class TcesResultServiceImpl extends ServiceImpl<TcesResultMapper, TcesResult> implements ITcesResultService {

    @Autowired
    private TcesResultMapper tcesResultMapper;

    @Override
    public List<TcesResultVo> select(TcesResult tcesResult) {
        return tcesResultMapper.select(tcesResult);
    }

    @Override
    public List<TcesResultVo> selectByTname(TcesResultVo tcesResult) {
        return tcesResultMapper.selectByTname(tcesResult);
    }
}
